﻿using System.Windows;
using System.ComponentModel.Composition;

namespace MainApp
{
    [Export]
    public partial class Shell : Window
    {
        // The shell imports IModuleManager once to load modules on-demand.
        //[Import( AllowRecomposition = false )]
        //private IModuleManager moduleManager;

        public Shell()
        {
            this.InitializeComponent();
        }

        //void moduleManager_ModuleDownloadProgressChanged(object sender, ModuleDownloadProgressChangedEventArgs e)
        //{
        //    // we only collect download information for Module1Impl module.
        //    if (e.ModuleInfo.ModuleName != "Module1Impl")
        //        return;
        //}
    }
}
